Parse lpoptions correctly
authorMarek Kasik <mkasik@redhat.com>
Fri, 15 Oct 2010 10:08:12 +0000 (12:08 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 15 Oct 2010 21:01:16 +0000 (17:01 -0400)
commit95e69afea83e6a43163a3c2b0d2928c9e646b77b
treeeea6477a8f3f7b05967b02d28e7a75f15b6f7f65
parentd70b7f49b62d8e7147d30a08340968633f36b0e7
Parse lpoptions correctly

Parse options job-sheets, job-hold-until and sides correctly.
Add get_lpoption_name() for translation of lpoption names to
gtk option names. Usable for options which values don't need
conversion (e.g. number-up, number-up-layout, job-billing
and job-priority).
Rename array option_names to ppd_option_names to reflect its
purpose better. Rename get_option_name() to get_ppd_option_name()
because of the same reason.
gtk/gtkprintunixdialog.c
modules/printbackends/cups/gtkprintbackendcups.c